package com.feri.rbacsys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (Product)表实体类
 *
 * @author makejava
 * @since 2023-03-27 21:00:21
 */
@Data
@TableName("t_product")
@NoArgsConstructor
@AllArgsConstructor
public class Product {

    private Integer id;
    //商品名称
    private String name;
    //图片
    private String picture;
    //分类
    private String kind;
    //单位，kg,ml
    private String unit;
    //500ml,5kg
    private Integer specifications;
    //品牌id
    private int brand_id;
    //价格
    private Double price;
    //状态
    private String state;

}

